package main

import "fmt"

func main() {
	s := make([]string,3)
	s[0] = "a"
	s[1] = "b"
	s[2] = "c"
	fmt.Println("get:",s[2])
	fmt.Println("len:",len(s))

	s = append(s,"d")
	s = append(s,"e")
	fmt.Println(s)

	c := make([]string,len(s))
	copy(c,s)
	fmt.Println(c)

	fmt.Println(s[2:5])
	fmt.Println(s[:5])
	fmt.Println(s[2:])

	good := []string{"g","o","o","d"}
	fmt.Println(good)
	fmt.Printf("%T",good)
}
